﻿<%@ Page Title="SIM记录信息2" Language="C#" MasterPageFile="~/MMhome.Master" AutoEventWireup="true"
    CodeBehind="S2sim.aspx.cs" Inherits="MobileManager.S2sim" %>

<%@ Register Src="~/UserControl/Smenu.ascx" TagName="Menu" TagPrefix="uc1" %>
<%@ Register Src="~/UserControl/ProvinceListQuick.ascx" TagName="Province" TagPrefix="uc2" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">

    <script language="javascript" type="text/javascript" src="Js/UCcalendar/WdatePicker.js"></script>

    <style type="text/css">
        .divLeft
        {
            width: 165px;
            list-style: none;
            margin-left: 10px;
            margin-right: 5px;
            margin-top: 20px;
            float: left;
        }
        .divRight
        {
            float: left;
            margin-top: 10px;
            margin-right: 10px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server">
    <div style="width: 100%">
        <div class="divLeft">
            <uc1:Menu ID="uc1menu" runat="server" />
        </div>
        <div class="divRight" style="text-align: center;">
            <div id="divMain" runat="server">
                <table>
                    <tr>
                        <td style="text-align: right;">
                            通道：
                        </td>
                        <td style="text-align: left;">
                            <asp:DropDownList ID="ddlChannel" runat="server" CssClass="dropnormal">
                            </asp:DropDownList>
                        </td>
                        <td style="text-align: right;">
                            客户编号：
                        </td>
                        <td style="text-align: left;">
                            <asp:DropDownList ID="ddlCustomer" runat="server" CssClass="dropnormal">
                            </asp:DropDownList>
                        </td>
                        <td style="text-align: right;">
                            运营商编号：
                        </td>
                        <td style="text-align: left">
                            <asp:DropDownList ID="ddlODEP" runat="server" CssClass="dropnormal">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            IMSI：
                        </td>
                        <td style="text-align: left;">
                            <asp:TextBox ID="txtIMSI" runat="server" CssClass="txtBoxNormal" MaxLength="20"></asp:TextBox>
                        </td>
                        <td style="text-align: right;">
                            请求时间From：
                        </td>
                        <td style="text-align: left;">
                            <input class="Wdate" id="inputDateFrom" name="inputDateStart" runat="server" type="text"
                                onclick="WdatePicker()" />
                        </td>
                        <td style="text-align: right;">
                            To：
                        </td>
                        <td style="text-align: left;">
                            <input class="Wdate" id="inputDateTo" name="inputDateStart" runat="server" type="text"
                                onclick="WdatePicker()" />
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: right;">
                            省份：
                        </td>
                        <td style="text-align: left">
                            <uc2:Province ID="txtProvince" runat="server" />
                        </td>
                        <td style="text-align: left;" colspan="5">&nbsp;&nbsp;
                            <asp:DropDownList ID="ddlAD" runat="server">
                                <asp:ListItem Value="ASC" Text="创建时间升序"></asp:ListItem>
                                <asp:ListItem Value="DESC" Text="创建时间降序" Selected="True"></asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="6" align="center">
                            &nbsp;&nbsp;
                            <asp:Button ID="btnQuery" runat="server" Text="查 询" CssClass="button_green" Width="70px"
                                OnClick="btnQuery_Click" />
                            &nbsp;&nbsp;&nbsp;
                            <asp:Button ID="btnDelete" runat="server" Text="删 除" CssClass="button_blue" Width="70px"
                                OnClick="btnDelete_Click" OnClientClick="return confirm('确定删除？')" />
                        </td>
                    </tr>
                </table>
                <br />
                <div>
                    <div style="width: 50%; float: left; text-align: left; margin-left: 0px;">
                        <asp:Label ID="lbCount" runat="server"></asp:Label>
                    </div>
                    <div style="width: 50%; text-align: right; float: right; margin-right: 20px;">
                        <asp:Label ID="lbRnumAll" runat="server"></asp:Label>
                    </div>
                </div>
                <asp:GridView ID="GVinfo" runat="server" AutoGenerateColumns="False" CssClass="reason_box"
                    Font-Size="12px" CellPadding="0" BorderWidth="0px" BorderColor="#A6E1FF" Width="100%"
                    AllowPaging="True" OnPageIndexChanging="GVinfo_PageIndexChanging" PageSize="30">
                    <Columns>
                        <asp:TemplateField HeaderText="客户编号">
                            <ItemTemplate>
                                <asp:Label ID="lbCNO" runat="server" Text='<%# Bind("CNO") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="运营商">
                            <ItemTemplate>
                                <asp:Label ID="lbOName" runat="server" Text='<%# Bind("OName") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="省份">
                            <ItemTemplate>
                                <asp:Label ID="lbProvinceName" runat="server" Text='<%# Bind("ProvinceName") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="城市名">
                            <ItemTemplate>
                                <asp:Label ID="lbCityName" runat="server" Text='<%# Bind("CityName") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="IMSI">
                            <ItemTemplate>
                                <asp:Label ID="lbIMSI" runat="server" Text='<%# Bind("IMSI") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                        <asp:TemplateField HeaderText="创建时间">
                            <ItemTemplate>
                                <asp:Label ID="lbCreateTime" runat="server" Text='<%# Bind("CreateTime") %>'></asp:Label>
                            </ItemTemplate>
                            <HeaderStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                            <ItemStyle BorderColor="#4DA6FF" BorderWidth="1px" />
                        </asp:TemplateField>
                    </Columns>
                    <EmptyDataTemplate>
                        <span style="color: Red; font-weight: bold;">无数据显示</span>
                    </EmptyDataTemplate>
                </asp:GridView>
                <div style="padding-top: 10px; text-align: right;">
                    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
                        PageSize="30" FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页"
                        ShowBoxThreshold="999">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
